package com.itheima.controller.v1.api;


import com.itheima.common.R;
import com.itheima.dto.ClueQueryDto;
import com.itheima.pojo.TbClue;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;

@Api("线索相关接口文档")
public interface CluesControllerApi {


    //根据来源查询对应活动信息
    @ApiOperation(("根据来源查询对应活动信息"))
    public R listselect(@PathVariable String channel);


    @ApiOperation("线索添加接口")
    public R add(TbClue tbClue);


    @ApiOperation("线索分页展示接口")
    public R list(ClueQueryDto clueQueryDto);
}
